#ifndef PROJECTILE_H
#define PROJECTILE_H

#include "framework.h"
#include "utils.h"
#include "camera.h"

class Projectile
{
public:
	Vector3 origen, velocidad, posicion;
	double birth, ttl;
	unsigned long tipo, owner, damage;
	Vector2 size;
	bool alive;

	Projectile(void);
	~Projectile(void);
	Projectile(Vector3 _origen, Vector3 _velocidad, int _owner, int _tipo);
	void recalc();
	void render();
	void Set(Vector3 _origen, Vector3 _velocidad, int _owner, int _tipo);
};

#endif